package com.qububu.emporium.goodsType.dto;

import com.qububu.utils.SystemUtil;

public class LittleTypeDto {

	private String typeId;
	
	private String typeName;
	
	private String parentTypeId;

	public String getTypeId() {
		return typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getParentTypeId() {
		return parentTypeId;
	}

	public void setParentTypeId(String parentTypeId) {
		this.parentTypeId = parentTypeId;
	}
	
	/**
	 * @param id 处理
	 */
	public LittleTypeDto(String typeId, String parentTypeId){
		this.typeId = typeId;
		this.parentTypeId = parentTypeId;
	}
	public LittleTypeDto(long typeId, long parentTypeId){
		this.typeId = SystemUtil.encrypt(String.valueOf(typeId));
		this.parentTypeId = SystemUtil.encrypt(String.valueOf(parentTypeId));
	}
	
}
